package com.woniuxy.mapper;

import com.woniuxy.entity.dto.system.UserDTO;
import com.woniuxy.entity.po.system.User;
import com.woniuxy.util.ResponseData;

import java.util.List;

/**
* @author Quan
* @description 针对表【user(用户信息表)】的数据库操作Mapper
* @createDate 2025-03-27 09:12:40
* @Entity com.woniuxy.entity.po.system.User
*/
public interface UserMapper {
	User queryByUsernameForLogin(User user);
	List<User> queryAll(UserDTO userDTO);
	void deleteUser(Long id);
	void batchDeleteUser(List<Long> ids);
	void addUser(User user);
	User queryIdInfo(Long id);
	void updateUser(User user);
	void deptClean(Long deptId);
	List<User> queryDeptIdInfo(Long deptId);

	/** 
	 * @Description: 查询用户对应id的图片地址
	 * @Param: [userId]
	 * @return: java.lang.String
	 * @Author: Quan
	 * @Date: 2025/4/7
	 */
	User queryUserById(Integer userId);
}




